package com.xiegang.orderservice.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author xieGang
 * @description
 * @date 2023/4/11 20:01
 **/

@FeignClient("service-sse-push")
public interface ServiceSsePushClient {

    @RequestMapping(method = RequestMethod.GET,value = "/push")
    public String push(@RequestParam Long userId,@RequestParam String identity,@RequestParam String content);
}
